using UnityEngine;
using System.Collections;

public class test : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update ()
	{
		ScaleTransform trans = this.GetComponent<ScaleTransform>();
		
		trans.position.i_x = (int)(Mathf.Sin(Time.time) * 6000000);
		
		Debug.Log(Time.time);
		
	}
}
